$(function () {
    if (adminName == 'null' || adminName == '')
    {
        toastr.error("请先登录")
        setTimeout(function () {
            window.location.href=ctx+ "admin/login";
        },500)
        $('#bottom').hide()
    }
})